#ifndef _BASIC_DATA_H_
#define _BASIC_DATA_H_

#include "stm32f10x.h"

#define Standby 1
#define Run     2

typedef struct
{  
    uint32_t UniqueID[3];
    
    uint16_t U3GetTime;
    
    float   BatteryVoltage;  // 电池电压
    uint8_t BatteryCapacity; // 电池容量
    
    uint8_t Charging;        // 充电中
        
    // 显示电池图标间隔时间
    uint16_t ShowBatteryTime;
    
    uint8_t RunS;        // 运行
    
    uint8_t lin;        // 运行
    
    
    
    uint8_t  SideBeat;     // 侧边标识
    uint16_t SideBeatTime; // 侧边跳动时间
}SysParameter_t;
extern SysParameter_t SysParameter;

typedef struct
{  
    uint16_t GetTime;
    
    uint16_t PM1_0;
    uint16_t PM2_5;
    uint16_t PM10;
}AirQuality_t;
extern AirQuality_t AirQuality;

typedef struct
{  
    uint16_t PM1_0;
    uint16_t PM2_5;
    uint16_t PM10;
}ShowAirQuality_t;
extern ShowAirQuality_t ShowAirQuality;

#endif




